﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using NextInventory.Common;
using NextInventory.Model.Order;
using NextInventory.Model.Party;

namespace NextInventory.Model.Sale
{
    public class SaleModel : BaseViewModel
    {
        public int ID { get; set; }
        public DateTime SaleDate { get; set; }
        public int PartyId { get; set; }
        public int ModeOfPaymentId { get; set; }
        public int OrderId { get; set; }
        public int TotalQty { get; set; }
        public decimal TotalAmount { get; set; }
        public DateTime? UpdatedDate { get; set; }
        public int UserId { get; set; }

        public ModeOfPayment ModeOfPayment { get; set; }
        public List<OrderModel> Order { get; set; }
        public List<PartyModel> Party { get; set; }
    }
}